home *** CD-ROM | disk | FTP | other *** search
- Path: fohnix.metronet.com!not-for-mail
- From: milam@fohnix.metronet.com (Stan Milam)
- Newsgroups: comp.lang.c
- Subject: Re: Help with C Date/Time Calc
- Date: 21 Mar 1996 20:55:58 -0600
- Organization: Texas Metronet, Inc (login info (214/488-2590 - 817/571-0400))
- Message-ID: <4it4ru$h9c@fohnix.metronet.com>
- References: <4irm8d$bev@dfw-ixnews5.ix.netcom.com>
- NNTP-Posting-Host: fohnix.metronet.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Keith Zawila (kzawila@ix.netcom.com) wrote:
- : Hi............
- : I am a relatively novice C programmer (took an Intro class) and I
- : could use some help with a calculation I need to perform:
-
- : I have the total number of seconds that have elapsed since 1/1/70,
- : and need to calculate the current date/time. Is there a function
- : within C that will help with this, or something else that will keep me
- : from attempting to reinvent the wheel?? Whatever direction anyone
- : could provide would be greatly appreciated!
-
- : kzawila@ix.netcom.com
-
- Check your manual for time(), localtime(), strftime(), ctime(), gmtime(),
- and mktime(). I am sure there are others, but I cannot remember all of
- them. ANSI C has a very complete date/time suite of functions.
-
- Rgrds,
- Stan Milam.
-